package myPack1;

import org.junit.Assert;
import org.junit.Test;
import org.openqa.selenium.By;

public class TC04 extends LCB{

	String filePath = "D:\\testData.xls";
	int sheetNum = 0;
	
	@Test
	public void atTest1() throws Exception{
		driver.get("http://www.gmail.com");

		//Read data from XL
		String data[][] = ReadFrmXL.readData(filePath, sheetNum);
		
		/*for(int i=0; i<ReadFrmXL.xRow; i++){
			
		}*/
		
		String userName = data[1][0];
		System.out.println(userName);
		
		String password = data[1][1];
		System.out.println(password);
		
		driver.findElement(By.id("Email")).sendKeys(userName);
		driver.findElement(By.id("Passwd")).sendKeys(password);
		
		
	}
	
}

